When should I use try catch instead of then catch